package com.boss.thirteen.dao;

import com.boss.salary.entity.SalaryPaymentRequisitionBack;

import java.util.List;
import java.util.Map;

public interface IThirteenPaymentBackDao {
    /**
     * 批量保存支付回盘历史
     * @param salaryPaymentRequisitionBacks
     * @param monthMap
     */
    void batchInsertPayBackHistoryData(List<SalaryPaymentRequisitionBack> salaryPaymentRequisitionBacks,Map<String, String> monthMap);

    /**
     * 按单位清楚月结前支付回盘数据
     * @param agencyId
     */
    void deletePayBackData(String agencyId);

    /**
     * 按单位获取支付回盘信息
     * @param agencyId
     * @return
     */
    List<SalaryPaymentRequisitionBack> getPayBackData(String agencyId);

    /**
     * 查询历史十三月生成支付信息
     * @param year
     * @param agencyIds
     * @return
     */
    List<SalaryPaymentRequisitionBack> getPaymentHisDatas(String year, List<String> agencyIds);

    /**
     * 批量新增支付信息
     * @param spList
     */
    void batchInsertPaymentDatas(List<SalaryPaymentRequisitionBack> spList);

    /**
     * 删除历史信息
     * @param year
     * @param agencyIds
     */
    void deletePaymentHistory(String year, List<String> agencyIds);


}
